package com.baizhi.service.impl;

import com.baizhi.dao.AdminRoleDAO;
import com.baizhi.service.AdminRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminRoleServiceImpl implements AdminRoleService {

    @Autowired
    private AdminRoleDAO adminRoleDAO;

    @Override
    public void add(Integer adminId, Integer RoleId) {
        adminRoleDAO.insert(adminId,RoleId);

    }
}
